package com.wgy.day17.继承性.构造方法访问规则;

public class Fu {
    int num=20;

    public Fu(){
        System.out.println("父类无参构造");
    }
    public Fu(int sum){

        System.out.println("父类有参构造");
    }
    public void methodFu(){
        System.out.println("父类成员方法执行啦");
    }
}
